home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 553 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.1 KB  |  33 lines

  1. Newsgroups: comp.lang.c++
  2. Path: news.sprintlink.net!news1!news
  3. From: John K Gotwals <gotwals@holli.com>
  4. Subject: Re: Trig functions
  5. X-Nntp-Posting-Host: laf-ts1-05.holli.com
  6. Content-Type: text/plain; charset=us-ascii
  7. Message-ID: <30EC8F7F.7E85@holli.com>
  8. Sender: news@iquest.net (News Admin)
  9. Content-Transfer-Encoding: 7bit
  10. Organization: WL Computer Systems
  11. References: <4ch9ka$4pc@felix.junction.net>
  12. Mime-Version: 1.0
  13. Date: Fri, 5 Jan 1996 02:39:59 GMT
  14. X-Mailer: Mozilla 2.0b4 (WinNT; I)
  15.  
  16. Donald Heppner wrote:
  17. > I need to have a few trig functions in my C++ program.  I have found
  18. > some trig functions, but for some reason, they give the wrong answer
  19. > (Maybe a different kind of trig).  I need tan, cos, sin, and all of these
  20. > functions to the power of negative one.  I need them to give me the same
  21. > answer as a calculator would.
  22. > Thanks
  23. > Donald
  24.  
  25. Just a shot in the dark, but I assume you know that the C/C++ trig functions
  26. expect input in radians?  Is your calculator set for degrees?
  27. ** John
  28.  
  29. -- 
  30.    I am concerned with the truth.  Reality is of little interest to me.
  31.